package cn.passlink.bletoothchat.Entity;

import org.w3c.dom.Entity;

import java.util.Objects;

public class SendMessage  {
    private int id;
    private String sender;
    private String academy;
    private String grade;
    private String classes;
    private String receiver;
    private String location;
    private String send_time;
    private String receive_time;
    private int effective;
    private String effec_time;
    private  String message;
    public SendMessage(){}


    public String getAcademy() {
        return academy;
    }

    public void setAcademy(String academy) {
        this.academy = academy;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getClasses() {
        return classes;
    }

    public void setClasses(String classes) {
        this.classes = classes;
    }

    public String getEffec_time() {
        return effec_time;
    }

    public void setEffec_time(String effec_time) {
        this.effec_time = effec_time;
    }

    public String getSender() {
        return sender;
    }

    public void setSender(String sender) {
        this.sender = sender;
    }



    public String getSend_time() {
        return send_time;
    }

    public void setSend_time(String send_time) {
        this.send_time = send_time;
    }


    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public String getReceive_time() {
        return receive_time;
    }

    public void setReceive_time(String receive_time) {
        this.receive_time = receive_time;
    }



    public int getEffective() {
        return effective;
    }

    public void setEffective(int effective) {
        this.effective = effective;
    }



    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "SendMessage{" +
                "sender='" + sender + '\'' +
                ", receiver='" + receiver + '\'' +
                ", location='" + location + '\'' +
                ", send_time='" + send_time + '\'' +
                ", receive_time='" + receive_time + '\'' +
                ", effective=" + effective +
                ", effec_time='" + effec_time + '\'' +
                ", message='" + message + '\'' +
                '}';
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }
}
